package com.zhl.scheduling.model.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: ZhangLu In DLUT
 * @since: 1.0.0
 * @Description: 封装的机器查询条件实体类
 */
@ApiModel(value = "MachineListQueryBO对象",description = "封装查询机器列表的条件对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MachineListQueryBO {

    @ApiModelProperty(dataType = "int",required = true, value = "机器ID")
    private Integer machineId;

    @ApiModelProperty(dataType = "int",required = true, value = "机器编号")
    private Integer machineNo;

    @ApiModelProperty(dataType = "string",required = true, value = "机器名称")
    private String machineName;

    @ApiModelProperty(dataType = "int",required = true, value = "机器状态")
    private Integer machineStatus;

    @ApiModelProperty(dataType = "int",required = true, value = "页码")
    private int page = 1;

    @ApiModelProperty(dataType = "int",required = true, value = "每页条数")
    private int limit = 5;

    @ApiModelProperty(dataType = "string",required = true, value = "排序方式，如：'machineId desc' ")
    private String orderBy;

}
